package com.hibiscusking.org.mapper;

import com.hibiscusking.org.domain.SystemDictionaryDetail;
import com.hibiscusking.org.domain.SystemDictionaryType;
import com.hibiscusking.org.query.SystemDictionaryDetailQuery;
import com.hibiscusking.org.query.SystemDictionaryTypeQuery;

import java.util.List;

public interface SystemDictionaryDetailMapper {
    // 查询全部
    List<SystemDictionaryDetail> findAll();
    // 添加
    void add(SystemDictionaryDetail systemDictionaryDetail);
    // 删除
    void dele(Long id);
    // 修改
    void update(SystemDictionaryDetail systemDictionaryDetail);
    // 分页查询
    List<SystemDictionaryDetail> findQuerySystemDictionaryDetail(SystemDictionaryDetailQuery query);
    // 个数查询
    Integer findDetailNumber(SystemDictionaryDetailQuery query);

    void batchdele(List<Long> ids);

    List<SystemDictionaryDetail> findAllDetailById(Long id);

    void deleByTypsId(Long id);
}
